.class public Lcom/hyphenate/chat/adapter/EMACallSession;
.super Lcom/hyphenate/chat/adapter/EMABase;


# direct methods
.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Lcom/hyphenate/chat/adapter/EMABase;-><init>()V

    invoke-virtual {p0}, Lcom/hyphenate/chat/adapter/EMACallSession;->nativeInit()V

    return-void
.end method

.method public constructor <init>(Lcom/hyphenate/chat/adapter/EMACallSession;)V
    .locals 0

    invoke-direct {p0}, Lcom/hyphenate/chat/adapter/EMABase;-><init>()V

    invoke-virtual {p0, p1}, Lcom/hyphenate/chat/adapter/EMACallSession;->nativeInit(Lcom/hyphenate/chat/adapter/EMACallSession;)V

    return-void
.end method


# virtual methods
.method public finalize()V
    .locals 0

    invoke-virtual {p0}, Lcom/hyphenate/chat/adapter/EMACallSession;->nativeFinalize()V

    invoke-super {p0}, Ljava/lang/Object;->finalize()V

    return-void
.end method

.method public getCallId()Ljava/lang/String;
    .locals 1

    invoke-virtual {p0}, Lcom/hyphenate/chat/adapter/EMACallSession;->nativeGetCallId()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getConnectType()Lcom/hyphenate/chat/adapter/EMACallSession$ConnectType;
    .locals 2

    invoke-virtual {p0}, Lcom/hyphenate/chat/adapter/EMACallSession;->nativeGetConnectType()I

    move-result v0

    sget-object v1, Lcom/hyphenate/chat/adapter/EMACallSession$ConnectType;->DIRECT:Lcom/hyphenate/chat/adapter/EMACallSession$ConnectType;

    invoke-virtual {v1}, Lcom/hyphenate/chat/adapter/EMACallSession$ConnectType;->ordinal()I

    move-result v1

    if-ne v0, v1, :cond_0

    sget-object v0, Lcom/hyphenate/chat/adapter/EMACallSession$ConnectType;->DIRECT:Lcom/hyphenate/chat/adapter/EMACallSession$ConnectType;

    :goto_0
    return-object v0

    :cond_0
    sget-object v1, Lcom/hyphenate/chat/adapter/EMACallSession$ConnectType;->RELAY:Lcom/hyphenate/chat/adapter/EMACallSession$ConnectType;

    invoke-virtual {v1}, Lcom/hyphenate/chat/adapter/EMACallSession$ConnectType;->ordinal()I

    move-result v1

    if-ne v0, v1, :cond_1

    sget-object v0, Lcom/hyphenate/chat/adapter/EMACallSession$ConnectType;->RELAY:Lcom/hyphenate/chat/adapter/EMACallSession$ConnectType;

    goto :goto_0

    :cond_1
    sget-object v0, Lcom/hyphenate/chat/adapter/EMACallSession$ConnectType;->NONE:Lcom/hyphenate/chat/adapter/EMACallSession$ConnectType;

    goto :goto_0
.end method

.method public getExt()Ljava/lang/String;
    .locals 1

    invoke-virtual {p0}, Lcom/hyphenate/chat/adapter/EMACallSession;->nativeGetExt()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getLocalName()Ljava/lang/String;
    .locals 1

    invoke-virtual {p0}, Lcom/hyphenate/chat/adapter/EMACallSession;->nativeGetLocalName()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getRemoteName()Ljava/lang/String;
    .locals 1

    invoke-virtual {p0}, Lcom/hyphenate/chat/adapter/EMACallSession;->nativeGetRemoteName()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getStatus()Lcom/hyphenate/chat/adapter/EMACallSession$Status;
    .locals 2

    invoke-virtual {p0}, Lcom/hyphenate/chat/adapter/EMACallSession;->nativeGetStatus()I

    move-result v1

    sget-object v0, Lcom/hyphenate/chat/adapter/EMACallSession$Status;->DISCONNECTED:Lcom/hyphenate/chat/adapter/EMACallSession$Status;

    packed-switch v1, :pswitch_data_0

    :goto_0
    return-object v0

    :pswitch_0
    sget-object v0, Lcom/hyphenate/chat/adapter/EMACallSession$Status;->DISCONNECTED:Lcom/hyphenate/chat/adapter/EMACallSession$Status;

    goto :goto_0

    :pswitch_1
    sget-object v0, Lcom/hyphenate/chat/adapter/EMACallSession$Status;->RINGING:Lcom/hyphenate/chat/adapter/EMACallSession$Status;

    goto :goto_0

    :pswitch_2
    sget-object v0, Lcom/hyphenate/chat/adapter/EMACallSession$Status;->CONNECTING:Lcom/hyphenate/chat/adapter/EMACallSession$Status;

    goto :goto_0

    :pswitch_3
    sget-object v0, Lcom/hyphenate/chat/adapter/EMACallSession$Status;->CONNECTED:Lcom/hyphenate/chat/adapter/EMACallSession$Status;

    goto :goto_0

    :pswitch_4
    sget-object v0, Lcom/hyphenate/chat/adapter/EMACallSession$Status;->ACCEPTED:Lcom/hyphenate/chat/adapter/EMACallSession$Status;

    goto :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
    .end packed-switch
.end method

.method public getType()Lcom/hyphenate/chat/adapter/EMACallSession$Type;
    .locals 2

    invoke-virtual {p0}, Lcom/hyphenate/chat/adapter/EMACallSession;->nativeGetType()I

    move-result v0

    sget-object v1, Lcom/hyphenate/chat/adapter/EMACallSession$Type;->VOICE:Lcom/hyphenate/chat/adapter/EMACallSession$Type;

    invoke-virtual {v1}, Lcom/hyphenate/chat/adapter/EMACallSession$Type;->ordinal()I

    move-result v1

    if-ne v0, v1, :cond_0

    sget-object v0, Lcom/hyphenate/chat/adapter/EMACallSession$Type;->VOICE:Lcom/hyphenate/chat/adapter/EMACallSession$Type;

    :goto_0
    return-object v0

    :cond_0
    sget-object v0, Lcom/hyphenate/chat/adapter/EMACallSession$Type;->VIDEO:Lcom/hyphenate/chat/adapter/EMACallSession$Type;

    goto :goto_0
.end method

.method native nativeFinalize()V
.end method

.method native nativeGetCallId()Ljava/lang/String;
.end method

.method native nativeGetConnectType()I
.end method

.method native nativeGetExt()Ljava/lang/String;
.end method

.method native nativeGetLocalName()Ljava/lang/String;
.end method

.method native nativeGetRemoteName()Ljava/lang/String;
.end method

.method native nativeGetStatus()I
.end method

.method native nativeGetType()I
.end method

.method native nativeInit()V
.end method

.method native nativeInit(Lcom/hyphenate/chat/adapter/EMACallSession;)V
.end method
